Version

ActivityQuery Constructor(ActivityTypes,IEnumerable<DateRange>,IEnumerable<ResourceCalendar>)

Constructor. Initializes a new instance of ActivityQuery.
Syntax
'Declaration
 
Public Function New( _
   ByVal activityTypesToQuery As ActivityTypes, _
   ByVal dateRanges As IEnumerable(Of DateRange), _
   ByVal calendars As IEnumerable(Of ResourceCalendar) _
)

Parameters

activityTypesToQuery
Types of activities to query.
dateRanges
One or more DateRange objects. Activities within these date ranges will be queried.
calendars
Activities belonging to these calendars will be queried. If null then all activities within the specified date ranges will be queried.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also